package com.example.ssm.service;

import com.example.ssm.bean.Employee;
import com.example.ssm.bean.EmployeeExample;

import java.util.List;

/**
 * Created by Intellij IDEA.
 * User: JonnyJiang
 * Date: 2021/6/5
 */
public interface EmployeeService {

    List<Employee> getAll();

    int addEmp(Employee employee);

    long hasUser(EmployeeExample employeeExample);

    Employee getEmp(Integer id);

    int updateEmp(Employee employee);

    int deleteEmp(Integer empId);

    void deleteEmpBatch(List<Integer> ids);

}
